import { Module } from '@nestjs/common';
import { PoetController } from './poet.controller';
import { PoetService } from './poet.service';
import { TypeOrmModule } from '@nestjs/typeorm';
import { Poet } from './entities/poet.entity';

@Module({
  imports: [TypeOrmModule.forFeature([Poet])],
  controllers: [PoetController],
  providers: [PoetService],
})
export class PoetModule {}
